# $Id: PKGBUILD 137754 2011-09-10 15:22:05Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>

pkgname=libgnomecanvasmm
pkgver=2.26.0
pkgrel=2
pkgdesc="A C++ wrapper for libgnomecanvas."
arch=('i686' 'x86_64')
license=('LGPL')
depends=('gtkmm' 'libgnomecanvas')
makedepends=('pkgconfig')
options=('!libtool')
url="http://gtkmm.sourceforge.net/"
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2")
md5sums=('a148c99311d46397de6e4a31736771ab')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
